package com.example.medicalzb.mapper;

import com.example.medicalzb.entity.CompanyPolicyEntity;
import com.example.medicalzb.model.CompanyPolicyModel;
import com.example.medicalzb.param.CompanyPolicyParam;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyPolicyMapper {
    List<CompanyPolicyModel> getAllPolicy(CompanyPolicyParam companyPolicyParam);

    int saveMedicalPolicy(CompanyPolicyEntity companyPolicyEntity);

    int updateMedicalPolicy(CompanyPolicyEntity companyPolicyEntity);

    int deleteMedicalPolicy(Long id);

    void deletePolicyByCompany(Integer id);
}
